import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import "lib-flexible"

import { Form, Field, Button, Cell, CellGroup, Tabbar, TabbarItem, Toast, NavBar, DropdownMenu, DropdownItem, Popup, Swipe, SwipeItem, Lazyload, RadioGroup, Radio, Area, Icon, List, Overlay } from 'vant';
Vue.use(Button);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Popup);
Vue.use(Form);
Vue.use(Field);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Icon);
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Area)      
Vue.use(List)      
Vue.use(Overlay)      
Vue.prototype.$Toast = Toast;

import navBottom from "@/components/navBottom.vue";
Vue.component("navBottom", navBottom)

import navBar from "@/components/navBar.vue";
Vue.component("navBar", navBar)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
